<div class="layui-card-body layui-layer-content-beautify">
    <form class="layui-form" style="width: 600px;" method="post">
        <div class="layui-form-item">
            <label class="layui-form-label">角色组</label>
            <div class="layui-input-block">
                {:build_select('group[]', $groupData, null, ['xm-select'=>'admin_group', 'xm-select-skin'=>'normal'])}
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">账号名</label>
            <div class="layui-input-block">
                <input type="text" name="row[account]" value="" lay-verify="required" placeholder="请输入管理员账号"
                       class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">昵称</label>
            <div class="layui-input-block">
                <input type="text" name="row[nick_name]" value="" lay-verify="required" placeholder="请输入管理员昵称"
                       class="layui-input">
            </div>
        </div>
        <div class="layui-form-item ">
            <label class="layui-form-label">密码</label>
            <div class="layui-input-block">
                <input type="text" name="row[password]" value="" placeholder="请输入管理员密码" lay-verify="required"
                       class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                {:build_radios('row[status]', ['1'=>'正常', '2'=>'禁用'])}
            </div>
        </div>
    </form>
</div>
<script>
    layui.use('formSelects', function () {
        layui.formSelects.render('admin_group');
    });
</script>